import request from '@/utils/request'
import apis from '@/api'

export function getCollectList (parameter) {
  return request({
    url: apis.GetCollect,
    method: 'get',
    params: parameter
  })
}

export function addCollect (id) {
  return request({
    url: `${apis.AddCollect}?gid=${id}`
  })
}
